package BuilderPattern;

public abstract class CarBuilder {
    protected ProductCar car = new ProductCar();
    //发动机
    public abstract void buildEngine();
    //变速箱
    public abstract void buildGearbox();
    //车身结构
    public abstract void buildBodyStructure();

    public ProductCar getCarProduct(){
        return car;
    }
}
